package top.glike.ssl.auto.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import top.glike.ssl.common.annotation.Excel;
import top.glike.ssl.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 厂商配置对象 ssl_cloud_provider
 *
 * @author Sophia
 * @date 2025-10-12
 */
@Data
public class SslCloudProvider extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 云厂商名称
     */
    @Excel(name = "云厂商名称")
    private String name;

    /**
     * 云厂商类型
     */
    @Excel(name = "云厂商类型")
    private String type;

    /**
     * 访问密钥ID
     */
    @Excel(name = "访问密钥ID")
    private String accessKeyId;

    /**
     * 访问密钥Secret
     */
    @Excel(name = "访问密钥Secret")
    private String accessKeySecret;

    /**
     * 腾讯云APPID
     */
    @Excel(name = "腾讯云APPID")
    private String appId;

    /**
     * 地域ID
     */
    @Excel(name = "地域ID")
    private String regionId;

    /**
     * API端点
     */
    @Excel(name = "API端点")
    private String endpoint;

    /**
     * 状态:1启用,0禁用
     */
    @Excel(name = "状态:1启用,0禁用")
    private Integer status;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String description;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

}
